
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table border="1" cellpadding="10" cellspacing="0" width="600">
<tr>
	<td align="center" bgcolor="lightgray" colspan="2">
		 <B>회원정보조회</B>
	</td>
	</tr>
	
	<c:if test="${sessionScope.memberDTO!=null }">
	<tr>
		<td bgcolor="lightgray"><b>아이디</b></td><td align="left"> ${sessionScope.memberDTO.id }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><B>이름</B></td><td align="left"> ${sessionScope.memberDTO.name }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><B>주소</B></td><td align="left"> ${sessionScope.memberDTO.address }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>전화번호</b></td><td align="left"> ${sessionScope.memberDTO.phone }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>신용도</b></td><td align="left"> ${sessionScope.memberDTO.credit }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>emai</b>l</td><td align="left"> ${sessionScope.memberDTO.email }</td>
	</tr>
	<tr>
    <td bgcolor="lightgray"><b>주민번호</b></td><td align="left"> ${sessionScope.memberDTO.registerNumber1 }-${sessionScope.memberDTO.registerNumber2 }</td>
	<tr>
	<td bgcolor="lightgray"><b>마일리지</b></td><td align="left">${sessionScope.memberDTO.mileage }</td>
	</tr>
	</c:if>
	
	<c:if test="${sessionScope.companyDTO!=null }">
	<tr>
	<td bgcolor="lightgray"><b>아이디</b></td><td align="left">${sessionScope.companyDTO.id }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>이름</b></td><td align="left">${sessionScope.companyDTO.name }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>주소</b></td><td align="left"> ${sessionScope.companyDTO.address }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>전화번호</b></td><td align="left"> ${sessionScope.companyDTO.phone }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>신용도</b></td><td align="left"> ${sessionScope.companyDTO.credit }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>email</b></td><td align="left"> ${sessionScope.companyDTO.email }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>마일리지</b></td><td align="left">${sessionScope.companyDTO.mileage }</td>
	</tr>
	</c:if>
	<c:if test="${sessionScope.adminDTO!=null }">
	<tr>
	<td bgcolor="lightgray"><b>아이디</b></td><td align="left">${sessionScope.adminDTO.id }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>이름</b></td><td align="left">${sessionScope.adminDTO.name }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>주소</b></td><td align="left"> ${sessionScope.adminDTO.address }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>전화번호</b></td><td align="left"> ${sessionScope.adminDTO.phone }</td>
	</tr>
	<tr>
	<td bgcolor="lightgray"><b>email</b></td><td align="left"> ${sessionScope.adminDTO.email }</td>
	</tr>
	</c:if>
	
 
	<tr>
		<td colspan="2" bgcolor="#afeeee">
		<a href="/${initParam.context_root }/modifyForm.do">회원정보수정</a>
		<a href="/${initParam.context_root }/removeMember.do">회원 탈퇴</a>
		 
		</td>
	</tr>
	</table>
</body>
</html>